package com.javaee.service.doctor;

import com.javaee.entity.Department;
import com.javaee.entity.Doctor;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface AuthDoctorService {
    Doctor login(String phone, String password);

    void registerDoctor(String password, String phone, String name, String job, String note, double fee, int dName, MultipartFile doctorPhoto);
   public List<Department> selectAllDepartments();
    public Doctor selectADoctor(int id);
}
